package com.mentaleye.dal.dao;

import com.mentaleye.dal.model.Interflow;
import com.mentaleye.dal.model.InterflowExample;

import java.util.List;
import java.util.Map;

/**
 * Created by Rock on 2017/5/12.
 */
public interface InterflowDao {

    public boolean add(Interflow interflow);

    public boolean update(Interflow interflow);

    public boolean updateByExample(Interflow interflow, InterflowExample example);

    public boolean delete(Integer interflowId);

    public boolean deleteByExample(InterflowExample example);

    public Interflow select(Integer interflowId);

    public List<Interflow> selectByExample(InterflowExample example);

    public List<Map<String, Object>> selectNotStudent();

    public List<Map<String, Object>> selectByMap(Map<String, Object> map);
}
